<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Freetype OpenGL: texture-font.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="content"><!-- do not remove this div! -->

<div id="top"><!-- do not remove this div! -->

  
  <div id="titlearea">
    
    <div id="projectname">Freetype OpenGL</div>
    
    
    <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
    
  </div>
  

<!--

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Freetype OpenGL
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
  </td>
  
  
  
   
  
 </tr>
 </tbody>
</table>
</div>
-->


<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">texture-font.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="texture-font_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* ============================================================================</span>
<a name="l00002"></a>00002 <span class="comment"> * Freetype GL - A C OpenGL Freetype engine</span>
<a name="l00003"></a>00003 <span class="comment"> * Platform:    Any</span>
<a name="l00004"></a>00004 <span class="comment"> * WWW:         http://code.google.com/p/freetype-gl/</span>
<a name="l00005"></a>00005 <span class="comment"> * ----------------------------------------------------------------------------</span>
<a name="l00006"></a>00006 <span class="comment"> * Copyright 2011,2012 Nicolas P. Rougier. All rights reserved.</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>
<a name="l00009"></a>00009 <span class="comment"> * modification, are permitted provided that the following conditions are met:</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> *  1. Redistributions of source code must retain the above copyright notice,</span>
<a name="l00012"></a>00012 <span class="comment"> *     this list of conditions and the following disclaimer.</span>
<a name="l00013"></a>00013 <span class="comment"> *</span>
<a name="l00014"></a>00014 <span class="comment"> *  2. Redistributions in binary form must reproduce the above copyright</span>
<a name="l00015"></a>00015 <span class="comment"> *     notice, this list of conditions and the following disclaimer in the</span>
<a name="l00016"></a>00016 <span class="comment"> *     documentation and/or other materials provided with the distribution.</span>
<a name="l00017"></a>00017 <span class="comment"> *</span>
<a name="l00018"></a>00018 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY NICOLAS P. ROUGIER &#39;&#39;AS IS&#39;&#39; AND ANY EXPRESS OR</span>
<a name="l00019"></a>00019 <span class="comment"> * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF</span>
<a name="l00020"></a>00020 <span class="comment"> * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO</span>
<a name="l00021"></a>00021 <span class="comment"> * EVENT SHALL NICOLAS P. ROUGIER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,</span>
<a name="l00022"></a>00022 <span class="comment"> * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span>
<a name="l00023"></a>00023 <span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span>
<a name="l00024"></a>00024 <span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span>
<a name="l00025"></a>00025 <span class="comment"> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span>
<a name="l00026"></a>00026 <span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF</span>
<a name="l00027"></a>00027 <span class="comment"> * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
<a name="l00028"></a>00028 <span class="comment"> *</span>
<a name="l00029"></a>00029 <span class="comment"> * The views and conclusions contained in the software and documentation are</span>
<a name="l00030"></a>00030 <span class="comment"> * those of the authors and should not be interpreted as representing official</span>
<a name="l00031"></a>00031 <span class="comment"> * policies, either expressed or implied, of Nicolas P. Rougier.</span>
<a name="l00032"></a>00032 <span class="comment"> * ============================================================================</span>
<a name="l00033"></a>00033 <span class="comment"> */</span>
<a name="l00034"></a>00034 <span class="preprocessor">#ifndef __TEXTURE_FONT_H__</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#define __TEXTURE_FONT_H__</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span>
<a name="l00037"></a>00037 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00039"></a>00039 <span class="preprocessor">#endif</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span>
<a name="l00041"></a>00041 <span class="preprocessor">#include &quot;<a class="code" href="vector_8h.html">vector.h</a>&quot;</span>
<a name="l00042"></a>00042 <span class="preprocessor">#include &quot;<a class="code" href="texture-atlas_8h.html">texture-atlas.h</a>&quot;</span>
<a name="l00043"></a>00043 
<a name="l00073"></a><a class="code" href="structkerning__t.html">00073</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00074"></a>00074 {
<a name="l00078"></a><a class="code" href="structkerning__t.html#aeb847b97dd87995e6849a9e4ca22e0aa">00078</a>     <span class="keywordtype">wchar_t</span> <a class="code" href="structkerning__t.html#aeb847b97dd87995e6849a9e4ca22e0aa" title="Left character code in the kern pair.">charcode</a>;
<a name="l00079"></a>00079     
<a name="l00083"></a><a class="code" href="structkerning__t.html#a7939079a51277d232958afd023a681ee">00083</a>     <span class="keywordtype">float</span> <a class="code" href="structkerning__t.html#a7939079a51277d232958afd023a681ee" title="Kerning value (in fractional pixels).">kerning</a>;
<a name="l00084"></a>00084 
<a name="l00085"></a>00085 } <a class="code" href="structkerning__t.html" title="A structure that hold a kerning value relatively to a charcode.">kerning_t</a>;
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 <span class="comment">/*</span>
<a name="l00091"></a>00091 <span class="comment"> * Glyph metrics:</span>
<a name="l00092"></a>00092 <span class="comment"> * --------------</span>
<a name="l00093"></a>00093 <span class="comment"> *</span>
<a name="l00094"></a>00094 <span class="comment"> *                       xmin                     xmax</span>
<a name="l00095"></a>00095 <span class="comment"> *                        |                         |</span>
<a name="l00096"></a>00096 <span class="comment"> *                        |&lt;-------- width --------&gt;|</span>
<a name="l00097"></a>00097 <span class="comment"> *                        |                         |    </span>
<a name="l00098"></a>00098 <span class="comment"> *              |         +-------------------------+----------------- ymax</span>
<a name="l00099"></a>00099 <span class="comment"> *              |         |    ggggggggg   ggggg    |     ^        ^</span>
<a name="l00100"></a>00100 <span class="comment"> *              |         |   g:::::::::ggg::::g    |     |        | </span>
<a name="l00101"></a>00101 <span class="comment"> *              |         |  g:::::::::::::::::g    |     |        | </span>
<a name="l00102"></a>00102 <span class="comment"> *              |         | g::::::ggggg::::::gg    |     |        | </span>
<a name="l00103"></a>00103 <span class="comment"> *              |         | g:::::g     g:::::g     |     |        | </span>
<a name="l00104"></a>00104 <span class="comment"> *    offset_x -|--------&gt;| g:::::g     g:::::g     |  offset_y    | </span>
<a name="l00105"></a>00105 <span class="comment"> *              |         | g:::::g     g:::::g     |     |        | </span>
<a name="l00106"></a>00106 <span class="comment"> *              |         | g::::::g    g:::::g     |     |        | </span>
<a name="l00107"></a>00107 <span class="comment"> *              |         | g:::::::ggggg:::::g     |     |        |  </span>
<a name="l00108"></a>00108 <span class="comment"> *              |         |  g::::::::::::::::g     |     |      height</span>
<a name="l00109"></a>00109 <span class="comment"> *              |         |   gg::::::::::::::g     |     |        | </span>
<a name="l00110"></a>00110 <span class="comment"> *  baseline ---*---------|---- gggggggg::::::g-----*--------      |</span>
<a name="l00111"></a>00111 <span class="comment"> *            / |         |             g:::::g     |              | </span>
<a name="l00112"></a>00112 <span class="comment"> *     origin   |         | gggggg      g:::::g     |              | </span>
<a name="l00113"></a>00113 <span class="comment"> *              |         | g:::::gg   gg:::::g     |              | </span>
<a name="l00114"></a>00114 <span class="comment"> *              |         |  g::::::ggg:::::::g     |              | </span>
<a name="l00115"></a>00115 <span class="comment"> *              |         |   gg:::::::::::::g      |              | </span>
<a name="l00116"></a>00116 <span class="comment"> *              |         |     ggg::::::ggg        |              | </span>
<a name="l00117"></a>00117 <span class="comment"> *              |         |         gggggg          |              v</span>
<a name="l00118"></a>00118 <span class="comment"> *              |         +-------------------------+----------------- ymin</span>
<a name="l00119"></a>00119 <span class="comment"> *              |                                   |</span>
<a name="l00120"></a>00120 <span class="comment"> *              |------------- advance_x ----------&gt;|</span>
<a name="l00121"></a>00121 <span class="comment"> */</span>
<a name="l00122"></a>00122 
<a name="l00126"></a><a class="code" href="structtexture__glyph__t.html">00126</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00127"></a>00127 {
<a name="l00131"></a><a class="code" href="structtexture__glyph__t.html#a7d7a8ba1d85315bc4ff606ede99f1e23">00131</a>     <span class="keywordtype">wchar_t</span> <a class="code" href="structtexture__glyph__t.html#a7d7a8ba1d85315bc4ff606ede99f1e23" title="Wide character this glyph represents.">charcode</a>;
<a name="l00132"></a>00132 
<a name="l00136"></a><a class="code" href="structtexture__glyph__t.html#ade972fbd816ec6f4dbd95ddd2e03746a">00136</a>     <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structtexture__glyph__t.html#ade972fbd816ec6f4dbd95ddd2e03746a" title="Glyph id (used for display lists)">id</a>;
<a name="l00137"></a>00137 
<a name="l00141"></a><a class="code" href="structtexture__glyph__t.html#a51379921bd46b454fc56b7d28381af03">00141</a>     <span class="keywordtype">size_t</span> <a class="code" href="structtexture__glyph__t.html#a51379921bd46b454fc56b7d28381af03" title="Glyph&#39;s width in pixels.">width</a>;
<a name="l00142"></a>00142 
<a name="l00146"></a><a class="code" href="structtexture__glyph__t.html#a7a0e2fc48006cf6815e5b1e7dae8d386">00146</a>     <span class="keywordtype">size_t</span> <a class="code" href="structtexture__glyph__t.html#a7a0e2fc48006cf6815e5b1e7dae8d386" title="Glyph&#39;s height in pixels.">height</a>;
<a name="l00147"></a>00147 
<a name="l00151"></a><a class="code" href="structtexture__glyph__t.html#a1f267cdba6bd1aff244ff72792ab1a38">00151</a>     <span class="keywordtype">int</span> <a class="code" href="structtexture__glyph__t.html#a1f267cdba6bd1aff244ff72792ab1a38" title="Glyph&#39;s left bearing expressed in integer pixels.">offset_x</a>;
<a name="l00152"></a>00152 
<a name="l00159"></a><a class="code" href="structtexture__glyph__t.html#aeacd07f592dfa953f26b2e5c1863a814">00159</a>     <span class="keywordtype">int</span> <a class="code" href="structtexture__glyph__t.html#aeacd07f592dfa953f26b2e5c1863a814" title="Glyphs&#39;s top bearing expressed in integer pixels.">offset_y</a>;
<a name="l00160"></a>00160 
<a name="l00166"></a><a class="code" href="structtexture__glyph__t.html#aba3ece1130e9d96562a5c2ec3e60da4c">00166</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__glyph__t.html#aba3ece1130e9d96562a5c2ec3e60da4c" title="For horizontal text layouts, this is the horizontal distance (in fractional pixels) used to increment...">advance_x</a>;
<a name="l00167"></a>00167 
<a name="l00173"></a><a class="code" href="structtexture__glyph__t.html#a1e13821e9ea8332f828ebb95aeefac06">00173</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__glyph__t.html#a1e13821e9ea8332f828ebb95aeefac06" title="For vertical text layouts, this is the vertical distance (in fractional pixels) used to increment the...">advance_y</a>;
<a name="l00174"></a>00174 
<a name="l00178"></a><a class="code" href="structtexture__glyph__t.html#adcfb6e5a1b583f96c96d87b006667f2b">00178</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__glyph__t.html#adcfb6e5a1b583f96c96d87b006667f2b" title="First normalized texture coordinate (x) of top-left corner.">s0</a>;
<a name="l00179"></a>00179 
<a name="l00183"></a><a class="code" href="structtexture__glyph__t.html#ab2fec7dd584f5cfaf14c3b8a807d5e70">00183</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__glyph__t.html#ab2fec7dd584f5cfaf14c3b8a807d5e70" title="Second normalized texture coordinate (y) of top-left corner.">t0</a>;
<a name="l00184"></a>00184 
<a name="l00188"></a><a class="code" href="structtexture__glyph__t.html#a3849b83a8bb51a6fc32ce77b485d9e95">00188</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__glyph__t.html#a3849b83a8bb51a6fc32ce77b485d9e95" title="First normalized texture coordinate (x) of bottom-right corner.">s1</a>;
<a name="l00189"></a>00189 
<a name="l00193"></a><a class="code" href="structtexture__glyph__t.html#aee3ba35a29e1646df9cfaca6c0db3488">00193</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__glyph__t.html#aee3ba35a29e1646df9cfaca6c0db3488" title="Second normalized texture coordinate (y) of bottom-right corner.">t1</a>;
<a name="l00194"></a>00194 
<a name="l00198"></a><a class="code" href="structtexture__glyph__t.html#a2f9cdcbb00d1c632471fd4accc157528">00198</a>     <a class="code" href="structvector__t.html" title="Generic vector structure.">vector_t</a> * <a class="code" href="structtexture__glyph__t.html#a2f9cdcbb00d1c632471fd4accc157528" title="A vector of kerning pairs relative to this glyph.">kerning</a>;
<a name="l00199"></a>00199 
<a name="l00203"></a><a class="code" href="structtexture__glyph__t.html#a630fa71b00f24fc94b4eb505afe95ebb">00203</a>     <span class="keywordtype">int</span> <a class="code" href="structtexture__glyph__t.html#a630fa71b00f24fc94b4eb505afe95ebb" title="Glyph outline type (0 = None, 1 = line, 2 = inner, 3 = outer)">outline_type</a>;
<a name="l00204"></a>00204 
<a name="l00208"></a><a class="code" href="structtexture__glyph__t.html#a4dea45315d29a64ee62e021c31163c18">00208</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__glyph__t.html#a4dea45315d29a64ee62e021c31163c18" title="Glyph outline thickness.">outline_thickness</a>;
<a name="l00209"></a>00209 
<a name="l00210"></a>00210 } <a class="code" href="structtexture__glyph__t.html" title="A structure that describe a glyph.">texture_glyph_t</a>;
<a name="l00211"></a>00211 
<a name="l00212"></a>00212 
<a name="l00213"></a>00213 
<a name="l00217"></a><a class="code" href="structtexture__font__t.html">00217</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00218"></a>00218 {
<a name="l00222"></a><a class="code" href="structtexture__font__t.html#a54b4c23fc9a156ffe265c4bae9818459">00222</a>     <a class="code" href="structvector__t.html" title="Generic vector structure.">vector_t</a> * <a class="code" href="structtexture__font__t.html#a54b4c23fc9a156ffe265c4bae9818459" title="Vector of glyphs contained in this font.">glyphs</a>;
<a name="l00223"></a>00223 
<a name="l00227"></a><a class="code" href="structtexture__font__t.html#a7af3cbcbd3ac09b0765ca1afd6310ac5">00227</a>     <a class="code" href="structtexture__atlas__t.html" title="A texture atlas is used to pack several small regions into a single texture.">texture_atlas_t</a> * <a class="code" href="structtexture__font__t.html#a7af3cbcbd3ac09b0765ca1afd6310ac5" title="Atlas structure to store glyphs data.">atlas</a>;
<a name="l00228"></a>00228     
<a name="l00232"></a><a class="code" href="structtexture__font__t.html#a069632a383a2ffc7a2ee9bd7658edb74">00232</a>     <span class="keywordtype">char</span> * <a class="code" href="structtexture__font__t.html#a069632a383a2ffc7a2ee9bd7658edb74" title="Font filename.">filename</a>;
<a name="l00233"></a>00233 
<a name="l00237"></a><a class="code" href="structtexture__font__t.html#a6bf154effb93de069e9732dd82015f55">00237</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__font__t.html#a6bf154effb93de069e9732dd82015f55" title="Font size.">size</a>;
<a name="l00238"></a>00238     
<a name="l00242"></a><a class="code" href="structtexture__font__t.html#a0539f19037c06a115b0ff441e66449a9">00242</a>     <span class="keywordtype">int</span> <a class="code" href="structtexture__font__t.html#a0539f19037c06a115b0ff441e66449a9" title="Whether to use autohint when rendering font.">hinting</a>;
<a name="l00243"></a>00243 
<a name="l00247"></a><a class="code" href="structtexture__font__t.html#afeb9b856800fae9d5f01328022566f08">00247</a>     <span class="keywordtype">int</span> <a class="code" href="structtexture__font__t.html#afeb9b856800fae9d5f01328022566f08" title="Outline type (0 = None, 1 = line, 2 = inner, 3 = outer)">outline_type</a>;
<a name="l00248"></a>00248 
<a name="l00252"></a><a class="code" href="structtexture__font__t.html#a2ca8ecdb553c2fcf6226b6c65f157902">00252</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__font__t.html#a2ca8ecdb553c2fcf6226b6c65f157902" title="Outline thickness.">outline_thickness</a>;
<a name="l00253"></a>00253 
<a name="l00257"></a><a class="code" href="structtexture__font__t.html#a2fd58e98976e3985b1ed06f6e08299bf">00257</a>     <span class="keywordtype">int</span> <a class="code" href="structtexture__font__t.html#a2fd58e98976e3985b1ed06f6e08299bf" title="Whether to use our own lcd filter.">filtering</a>;
<a name="l00258"></a>00258 
<a name="l00262"></a><a class="code" href="structtexture__font__t.html#a6d2347450ec91e7148d211b21aed05d4">00262</a>     <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> lcd_weights[5];
<a name="l00263"></a>00263 
<a name="l00271"></a><a class="code" href="structtexture__font__t.html#a8bd92ddb4c8e456aac6a21f6c268b360">00271</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__font__t.html#a8bd92ddb4c8e456aac6a21f6c268b360" title="This field is simply used to compute a default line spacing (i.e., the baseline-to-baseline distance)...">height</a>;
<a name="l00272"></a>00272 
<a name="l00278"></a><a class="code" href="structtexture__font__t.html#af40d45f0616a523d97206e6e0e72f421">00278</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__font__t.html#af40d45f0616a523d97206e6e0e72f421" title="This field is the distance that must be placed between two lines of text.">linegap</a>;
<a name="l00279"></a>00279 
<a name="l00288"></a><a class="code" href="structtexture__font__t.html#a592d471a60e7506f516af0fa4713da0e">00288</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__font__t.html#a592d471a60e7506f516af0fa4713da0e" title="The ascender is the vertical distance from the horizontal baseline to the highest &#39;character&#39; coordin...">ascender</a>;
<a name="l00289"></a>00289 
<a name="l00299"></a><a class="code" href="structtexture__font__t.html#af310fa623576a8436bff9354f9a5c048">00299</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__font__t.html#af310fa623576a8436bff9354f9a5c048" title="The descender is the vertical distance from the horizontal baseline to the lowest &#39;character&#39; coordin...">descender</a>;
<a name="l00300"></a>00300 
<a name="l00305"></a><a class="code" href="structtexture__font__t.html#af3efeacc20feb706583b5220582aa107">00305</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__font__t.html#af3efeacc20feb706583b5220582aa107" title="The position of the underline line for this face.">underline_position</a>;
<a name="l00306"></a>00306 
<a name="l00311"></a><a class="code" href="structtexture__font__t.html#a20fc8ea7a7b03fde93894d559801ede3">00311</a>     <span class="keywordtype">float</span> <a class="code" href="structtexture__font__t.html#a20fc8ea7a7b03fde93894d559801ede3" title="The thickness of the underline for this face.">underline_thickness</a>;
<a name="l00312"></a>00312 
<a name="l00313"></a>00313 } <a class="code" href="structtexture__font__t.html" title="Texture font structure.">texture_font_t</a>;
<a name="l00314"></a>00314 
<a name="l00315"></a>00315 
<a name="l00316"></a>00316 
<a name="l00331"></a>00331   <a class="code" href="structtexture__font__t.html" title="Texture font structure.">texture_font_t</a> *
<a name="l00332"></a>00332   <a class="code" href="group__texture-font.html#ga904424e7b0e2be14b694599b5c483e64" title="This function creates a new texture font from given filename and size.">texture_font_new</a>( <a class="code" href="structtexture__atlas__t.html" title="A texture atlas is used to pack several small regions into a single texture.">texture_atlas_t</a> * atlas,
<a name="l00333"></a>00333                     <span class="keyword">const</span> <span class="keywordtype">char</span> * filename,
<a name="l00334"></a>00334                     <span class="keyword">const</span> <span class="keywordtype">float</span> size );
<a name="l00335"></a>00335 
<a name="l00336"></a>00336 
<a name="l00343"></a>00343   <span class="keywordtype">void</span>
<a name="l00344"></a>00344   <a class="code" href="group__texture-font.html#gaa894ab1def90197eaad58b578e7a2440" title="Delete a texture font.">texture_font_delete</a>( <a class="code" href="structtexture__font__t.html" title="Texture font structure.">texture_font_t</a> * <span class="keyword">self</span> );
<a name="l00345"></a>00345 
<a name="l00346"></a>00346 
<a name="l00358"></a>00358   <a class="code" href="structtexture__glyph__t.html" title="A structure that describe a glyph.">texture_glyph_t</a> *
<a name="l00359"></a>00359   <a class="code" href="group__texture-font.html#ga06e988448ef6e118aa6e273df5892937" title="Request a new glyph from the font.">texture_font_get_glyph</a>( <a class="code" href="structtexture__font__t.html" title="Texture font structure.">texture_font_t</a> * <span class="keyword">self</span>,
<a name="l00360"></a>00360                           <span class="keywordtype">wchar_t</span> charcode );
<a name="l00361"></a>00361 
<a name="l00362"></a>00362 
<a name="l00372"></a>00372   <span class="keywordtype">size_t</span>
<a name="l00373"></a>00373   <a class="code" href="group__texture-font.html#ga912b65dd3d45ced38640cdfbecbb51c5" title="Request the loading of several glyphs at once.">texture_font_load_glyphs</a>( <a class="code" href="structtexture__font__t.html" title="Texture font structure.">texture_font_t</a> * <span class="keyword">self</span>,
<a name="l00374"></a>00374                             <span class="keyword">const</span> <span class="keywordtype">wchar_t</span> * charcodes );
<a name="l00375"></a>00375 
<a name="l00384"></a>00384 <span class="keywordtype">float</span> 
<a name="l00385"></a>00385 <a class="code" href="group__texture-font.html#ga77d1adb569e7eaa4aaf776dc28415c66" title="Get the kerning between two horizontal glyphs.">texture_glyph_get_kerning</a>( <span class="keyword">const</span> <a class="code" href="structtexture__glyph__t.html" title="A structure that describe a glyph.">texture_glyph_t</a> * <span class="keyword">self</span>,
<a name="l00386"></a>00386                            <span class="keyword">const</span> <span class="keywordtype">wchar_t</span> charcode );
<a name="l00387"></a>00387 
<a name="l00390"></a>00390 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00391"></a>00391 <span class="preprocessor"></span>}
<a name="l00392"></a>00392 <span class="preprocessor">#endif</span>
<a name="l00393"></a>00393 <span class="preprocessor"></span>
<a name="l00394"></a>00394 <span class="preprocessor">#endif </span><span class="comment">/* __TEXTURE_FONT_H__ */</span>
<a name="l00395"></a>00395 
</pre></div></div><!-- contents -->
</div>
</body>
</html>
